.PHONY:all
all:server client

.PHONY:server
server:dict_server
dict_server::dict_server.cc
	g++ -o $@ $^ -std=c++11 -I/usr/include -L/usr/local/lib -lpthread -lmuduo_net -lmuduo_base

.PHONY:client
client:dict_client
dict_client::dict_client.cc
	g++ -o $@ $^ -std=c++11 -lpthread -lmuduo_net -lmuduo_base
	
.PHONY:clean
clean:
	rm -f dict_server dict_client